<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery-3.6.0.min.js"></script>
    <script>
        window.onload = function () {
            setInterval(show,1000);
        }
        let num = 1;
        function show() {

            let img = document.getElementById("myImg");
            img.src = "../1.1.1img/"+(++num)+".jpg";
            if (num===5){
                num=0;
            }
        }
    </script>
</head>
<body>

<img src="../1.1.1img/1.jpg" id="myImg" alt="" width="500"><br>

</body>
</html>